package com.hugedata.cdn.base.services;

import java.util.List;

import com.hugedata.cdn.base.filter.QueryFilter;
import com.hugedata.cdn.base.model.BaseModel;

public interface EntityService {

    public abstract void deleteEntityById(String s) throws Exception;

    public abstract BaseModel findEntityById(String s);

    public abstract BaseModel initEntity();

    public abstract List findEntityListByFilter(QueryFilter queryfilter);

    public abstract String insertEntity(BaseModel basemodel) throws Exception;

    public abstract void updateEntity(BaseModel basemodel) throws Exception;

    public abstract List findAllEntityList();
}
